package com.atguigu.practice;

import java.util.HashMap;
import java.util.Map;

public class test2 {
    public static void main(String[] args) {

    }
}
class Solution1{
    public static ListNode removeZeroSumSublists(ListNode head){
        if(head==null)return null;
        ListNode cur=head;
        Map<ListNode,Integer> map=new HashMap<>();
        while(cur!=null){
            map.put(cur,cur.val);
            cur=cur.next;
        }
        return null;
    }
}
